<!--
PAGE DOCUMENTATION:
==================
The help page for the application. Contains information (for the user) about the
application's operations. No technical data.
-->

<html>
<fb:dashboard>
     <fb:action href="index.php">Home</fb:action>
     <fb:action href="sendMessage.php">Send a message</fb:action>
     <fb:action href="getMessages.php">Hear messages sent by friends</fb:action>
     <fb:action href="invite.php">Invite some friends over!</fb:action>
</fb:dashboard>

<?php
require_once 'server.php';
require_once 'appinclude.php';
require_once 'design.php';
echo "

<table cellpadding=\"10\">
	<tr>
		<td>
			<h1 class=\"mainHeader\">How to use the Voice Messenger application</h1>
			</br>
			<p class=\"topicText\">
				<a href=\"#help1\">What is this application good for?</a></br>
				<a href=\"#help2\">How Can I hear a message?</a></br>
				<a href=\"#help3\">How Can I send a message?</a></br>
				<a href=\"#help4\">How can I record a message of my own?</a></br>
				<a href=\"#help5\">Can I send a message to more then one friend?</a></br>
				<a href=\"#help6\">Can I save the recorded message without sending it?</a></br>
				<a href=\"#help7\">How can I get rid of messages I don't want?</a></br>
				<a href=\"#help8\">How will I know I have a new message?</a></br>
				<a href=\"#help9\">What about time settings?</a></br>
				<a href=\"#help10\">What information is shown on my profile?</a></br>
			</p>
		</td>
	</tr>
	<tr>
		<td>
			<h2 class=\"topicHeader\"><a name=\"help1\">What is this application good for?</a></h2>
			<p class=\"topicText\">
			The primary use of this great application is to allow and your friends exchange voice messages.</font>
			</p>
		</td>
	</tr>
	<tr>
		<td>
			<h2 class=\"topicHeader\"><a name=\"help2\">How Can I hear a message?</a></h2>
			<p class=\"topicText\">
				Simply go to <a href=\"getMessages.php\">your recieved messages page</a>.</br>
				In this page, you will see a table containing all your received messages, who they are from and when they were sent.</br>
				When you select a message (by clicking on it) an options dialog box will open, in which you can choose to play the message.</br>
				You can also hear recorded messages this way.
			</p>
		</td>
	</tr>
	<tr>
		<td>
			<h2 class=\"topicHeader\"><a name=\"help3\">How Can I send a message?</a></h2>
			<p class=\"topicText\">
				Go to <a href=\"sendMessage.php\">your recorded messages page</a>.</br>
				In this page you will see two tables. The first has all the detail about the messages you recorded (the message name and the time of recording).</br>
				The page may NOT show this table, if you have no recorded messages saved.</br>
				The second table holds the detail of \"pre-recorded messages\" that were recorded by us. you can use them freely.</br>
				When you select a message (by clicking on it) an options dialog box will appear. Choose the \"Send\" option.</br>
				You will be asked to choose who you want to send the message to. You can send a message to up to ten friends at a time.</br>
				Once you choose the recipients, the message will be sent, and a success message such as this will appear on the screen:
			</p>
			<fb:success>
				<fb:message>Message Sent</fb:message>
				Your message was successfuly sent!</br>
					If you sent this message to friends that didn't add VoiceMessanger yet, it will wait for them.
			</fb:success>
			<p class=\"topicText\">
				Recipients that have already added VoiceMessenger will receive a notification that they have a new message. 
				They will also receive an E-mail (if they chose to, when thay added VoiceMessenger). On their profile they (and
				everybody else) will be able to see that they have a new message. </br>
				If you chose to send the message to friends that have not added VoiceMessenger, you will be asked to send them an invitaion.
				Please confirm the invitaion sending, otherwise they will have no indication that a message is waiting for them.</br>
				A news-feed may be published on your/their profiles about the message sending (you can hide it if you choose).
			</p>
		</td>
	</tr>
	<tr>
		<td>
			<h2 class=\"topicHeader\"><a name=\"help4\">How can I record a message of my own?</a></h2>
			<p class=\"topicText\">
				You can record your own messages and send them or just save them.</br>
				It is done by picking the \"Click here to record a new message!\" option on <a href=\"sendMessage.php\">your recorded messages page</a>.</br>
				You will be asked to name your message, and press the \"Ok\" button.</br>
				Once you did that, VoiceMessenger will connect to the our server. Click the \"Record\" button.
				the following box will appear:</br>
			</p>
			<div align =\"center\">
				<img src=\"$server/grafics/recording1.JPG\" align =\"center\">
			</div>
			<p class=\"topicText\">
				Click the \"close\" option.</br>
				The next box will appear, where VoiceMessanger will ask your permition to use your microphone:
			</p>
			</p>
			<div align =\"center\">
				<img src=\"$server/grafics/recording2.JPG\" align =\"center\">
			</div>
			<p class=\"topicText\">
				Click the \"Allow\" button. Note - when you press it the recording starts.</br>
				When you are done, push the \"Stop\" button.</br>
				If you click the \"Record\" button again, you can re-record you message. 
				If you click the \"Done\" option, the message will by saved. 
				If you chose to keep the new message the sending process will start.</br>
				<b>Note - message length is limited to 1 minuet.</b>
			</p>
		</td>
	</tr>
	<tr>
		<td>
			<h2 class=\"topicHeader\"><a name=\"help5\">Can I send a message to more then one friend?</a></h2>
			<p class=\"topicText\">
				Defentily! Once you choose the message you want to send (or recorded a new one) the sending process will begin by asking you to choose whom you want
				to send the message to. You can choose up to 10 friends to send the message to.
			</p>
		</td>
	</tr>
	<tr>
		<td>
			<h2 class=\"topicHeader\"><a name=\"help6\">Can I save the recorded message without sending it?</a></h2>
			<p class=\"topicText\">
				Yes, yes, yes! Once you choose the message you want to send (or recorded a new one) the sending process will begin by asking you to choose whom you want
				to send the message to. If you choose the \"Cancel\" option your message will be saved but will not be sent (it will appear on your \"recorded messages table\" on 
				<a href=\"sendMessage.php\">your recorded messages page</a>.</br>
				Note - you can keep up to 10 recorded messages.
			</p>
		</td>
	</tr>
	<tr>
		<td>
			<h2 class=\"topicHeader\"><a name=\"help7\">How can I get rid of messages I don't want?</a></h2>
			<p class=\"topicText\">
				You can delete any of your messages by selecting the message and choosing the \"Delete\" option
				in the dialog box that will open. You cannot, however,
				delete a pre-recorded message.
			</p>
		</td>
	</tr>
	<tr>
		<td>
			<h2 class=\"topicHeader\"><a name=\"help8\">How will I know I have a new message?</a></h2>
			<p class=\"topicText\">
				There are several ways:</br>
				First, You will see on the <a href=\"index.php\" >VoiceMessenger main page</a> how many new messages you have.</br>
				The second way to see the same information is in your profile, on VoiceMessenger's box.
				Another way is to go to <a href=\"getMessages.php\">your recieved messages page</a>.
				You will see that all the messages you haven't read yet are painted blue.
			</p>
		</td>
	</tr>
	<tr>
		<td>
			<h2 class=\"topicHeader\"><a name=\"help9\">What about time settings?</a></h2>
			<p class=\"topicText\">
				By default, the messages timing data is set to GMT. You can change it so that
				the time presented will be your timezone by clicking the \"Click here to change time settings\"
				at the bottom of <a href=\"getMessages.php\">your recieved messages page</a> or
				<a href=\"sendMessage.php\">your recorded messages page</a>.
			</p>
		</td>
	</tr>
	<tr>
		<td>
			<h2 class=\"topicHeader\"><a name=\"help10\">What information is shown on my profile?</a></h2>
			<p class=\"topicText\">
				On the VoiceMessenger's box on your profile you (and everybody else) will be able to see how
				many new messages you have, and how many messages you have sent so far.
				No other information will appear there. Only you will have access to your messages from the 
				profile box.
			</p>
		</td>
	</tr>
</table>
</br>
</br>
";
?>
</br>
<font size="3">
This application participates in Unicell's contest. <a href="http://www.liveface.co.il/%D7%AA%D7%97%D7%A8%D7%95%D7%AA-%D7%90%D7%A4%D7%9C%D7%99%D7%A7%D7%A6%D7%99%D7%95%D7%AA-%D7%A4%D7%99%D7%99%D7%A1%D7%91%D7%95%D7%A7/apps/" > For rating and other applications. </a>
</font>